var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "code": 0,
    "msg": "OK",
    "data": {
      list:[
        {
          "date": "9:30",
          "value": "@float(60, 1000, 2,2)",
          "increase": "@float(0, 1, 4,4)",
        },
        {
          "date": "10:30",
          "value": "@float(60, 1000, 2,2)",
          "increase": "@float(0, 1, 4,4)",
        },
        {
          "date": "11:30/13:00",
          "value": "@float(60, 1000, 2,2)",
          "increase": "@float(0, 1, 4,4)",
        },
        {
          "date": "14:00",
          "value": "@float(60, 1000, 2,2)",
          "increase": "@float(0, 1, 4,4)",
        },
        {
          "date": "15:00",
          "value": "@float(60, 1000, 2,2)",
          "increase": "@float(0, 1, 4,4)",
        }
      ],
      realtime:{
        "date": "9:30",
        "value": "@float(60, 1000, 2,2)",
        "increase": "@float(0, 1, 4,4)",
      }
    }
  })
}


